package com.ruoyi.driver.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机等级对象 t_level
 * 
 * @author guguguy
 * @date 2025-03-20
 */
public class TLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 等级ID */
    private Long id;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 等级最小分数 */
    @Excel(name = "等级最小分数")
    private BigDecimal minScore;

    /** 等级最大分数 */
    @Excel(name = "等级最大分数")
    private BigDecimal maxScore;

    /** 抽成比例 */
    @Excel(name = "抽成比例")
    private BigDecimal commissionRate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setMinScore(BigDecimal minScore) 
    {
        this.minScore = minScore;
    }

    public BigDecimal getMinScore() 
    {
        return minScore;
    }
    public void setMaxScore(BigDecimal maxScore) 
    {
        this.maxScore = maxScore;
    }

    public BigDecimal getMaxScore() 
    {
        return maxScore;
    }
    public void setCommissionRate(BigDecimal commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public BigDecimal getCommissionRate() 
    {
        return commissionRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelName", getLevelName())
            .append("minScore", getMinScore())
            .append("maxScore", getMaxScore())
            .append("commissionRate", getCommissionRate())
            .toString();
    }
}
